package com.winteam.Test;

import com.winteam.Controler.Select;
import com.winteam.Utils.DataUtil;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class Demo_01 {
    public static void main(String[] args) {
        System.out.println(new Select().findClientId("121"));
        System.out.println(new Date(10938830));
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
        long nowTime = System.currentTimeMillis();
        Calendar cal = Calendar.getInstance();
        cal.setTimeInMillis(10938830);
        System.out.println(nowTime + " is " + dateFormat.format(cal.getTime()));

        System.out.println(DataUtil.FormattingDate(new Date(403906981)));
    }
}
